package com.example.inter.tourdemo.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.ArrayList;
import java.util.List;

/**
 * 我的 垂直列表 适配器
 * @author zhaoyu
 * @date 2017/2/12.
 */

public class TripAdapter extends BaseQuickAdapter<Object, BaseViewHolder> {

    List mTripDataList;

    public TripAdapter(int layoutResId, ArrayList data) {
        super(layoutResId, data);
        mTripDataList = data;
    }

    @Override
    protected void convert(BaseViewHolder helper, Object item) {

    }


//    @Override
//    protected void convert(BaseViewHolder helper, TripBean bean) {
//        helper.setImageResource(R.id.iv_trip,bean.icon_trip);
//        helper.setImageResource(R.id.iv_trip_head,bean.icon_trip_head);
//        helper.setText(R.id.trip_title_name,bean.title_trip);
//        helper.setText(R.id.tv_trip,bean.time);
//    }
}
